package com.iretailer.report.mapper;


import com.iretailer.report.base.SuperMapper;
import com.iretailer.report.model.PageWidgets;
import com.iretailer.report.model.PageWidgetsUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Auther: xjw
 * @Date: 2019/1/21 13:08
 * @Description:
 */
public interface PageWidgetsMapper extends SuperMapper<PageWidgets> {

    List<PageWidgets> selectByIsModel(@Param("isMobile") Integer isMobile, @Param("pageWidgetQuery") PageWidgets pageWidgetQuery);

    List<PageWidgets> selectByIds(List<String> ids);

    List<PageWidgets> selectPageWidgetsByUserId(@Param("userId") String userId);


    int deletePageWidgets_usersByUserId(@Param("userId") String userId);

}
